﻿package{	import flash.display.Sprite;	import flash.events.Event;	import de.broud.utils.*;	public class DateExample extends Sprite	{		public function DateExample()		{			addEventListener(Event.ENTER_FRAME, loop);						function loop(e)			{				var timestamp:Number = Number(new Date());							dateA.text = DateFormatter.gmdate("H:i:s:x");				dateB.text = DateFormatter.gmdate("l Y-m-d H:i:s", 1254275326401);				dateC.text = DateFormatter.formatDate(timestamp);				dateD.text = DateFormatter.formatDate(timestamp-86400000);				dateE.text = DateFormatter.gmdate("Y M D");			}		}	}}